package day01;

public class renshengfuli {
	public static void main(String[] args) {
		int i;
		double x=1;
		for(i=1;i<365;i++)
		{
			x=x+x*0.01;
		}
		System.out.println(x);
		
		int j;
		double y=1;
		for(j=1;j<365;j++)
		{
			y=y-y*0.01;
		}
		System.out.println(y);
	}

}
